package com.mingloucct.payment_ws.service.impl;

import com.mingloucct.payment_ws.dao.IBaobiaoDao;
import com.mingloucct.payment_ws.entity.Baobiao;
import com.mingloucct.payment_ws.service.IBaobiaoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestParam;

@Service
public class BaobiaoService implements IBaobiaoService {
    @Autowired
    private IBaobiaoDao IBaobiaoDao;

    @Override
    public Baobiao readBaobiao(@RequestParam String id){
        Baobiao baobiao = IBaobiaoDao.readBaobiao(id);
        return baobiao;
    }
}
